package com.slixils.srb.core.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableLogic;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户绑定表
 * </p>
 *
 * @author Helen
 * @since 2021-12-31
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="UserBind对象", description="用户绑定表")
public class UserBind implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "商户id")
    private Integer agentId;

    @ApiModelProperty(value = "P2P商户的用户id")
    private String agentUserId;

    @ApiModelProperty(value = "用户姓名")
    private String personalName;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "身份证号")
    private String idCard;

    private String bankNo;

    private String email;

    private String returnUrl;

    private String notifyUrl;

    private Long timestamp;

    @ApiModelProperty(value = "绑定的汇付宝id")
    private String bindCode;

    @ApiModelProperty(value = "支付密码")
    private String payPasswd;

    @ApiModelProperty(value = "状态")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "逻辑删除(1:已删除，0:未删除)")
    @TableLogic
    private Integer isDeleted;


}
